package com.camelot.ccr.global.util.comparator;

public enum EnumComparatorType {

	/**
	 * 正序
	 */
	ASC(0),
	/**
	 * 倒序
	 */
	DESC(1),
	;
	
	/**
	 * key
	 */
	private Integer key;
	
	/**
	 * 构造函数
	 * @param key
	 */
	private EnumComparatorType(Integer key){
		this.key = key;
	}

	public Integer getKey() {
		return key;
	}
	
}
